@extends('admin.layouts.master')

@section('content')

<div class="row state-overview">
	<!--数据统计-开始-->
	<div class="col-lg-12 aw-padding0 aw-overflow-hidden">
		<div class="col-lg-3 col-sm-6">
			<section class="panel">
				<div class="symbol aw-bg-red"><i class="icon-money"></i></div>
				<div class="value">
					<h1>@{{count_orders}}</h1>
					<p>今日订场率</p>
				</div>
			</section>
		</div>
		<div class="col-lg-3 col-sm-6">
			<section class="panel">
				<div class="symbol aw-bg-warning"><i class="icon-group"></i></div>
				<div class="value">
					<h1>@{{count_user}}</h1>
					<p>会员人数</p>
				</div>
			</section>
		</div>
		<div class="col-lg-3 col-sm-6">
			<section class="panel">
				<div class="symbol aw-bg-blue"><i class="icon-flag-checkered"></i></div>
				<div class="value">
					<h1>@{{count_team}}</h1>
					<p>球队数量</p>
				</div>
			</section>
		</div>
	</div>
	<!--数据统计-结束-->
	<div class="col-lg-12 aw-overflow-hidden">
		<section class="panel">
            <header class="panel-heading">快捷操作</header>
            <div class="panel-body">
                <a class="btn btn-lg btn-blue" href="/admin/storefront/info?page_id=19&id=add"><i class="icon-hospital"></i> 添加店面</a>
                <a class="btn btn-lg btn-yellow" href="/admin/coupon/list?page_id=20&id=add"><i class="icon-ticket"></i> 添加优惠券</a>
            </div>
        </section>
	</div>
</div>
@section('pagejs')
@parent
<script type="text/javascript">
var ajax_data={
	api:'/adminapi/system/stati-stics',
	tips:false,
}
var Ajax_Vue_Fun=function(vue_data){
	console.log('vue_data')
	console.log(vue_data)
	vm=new Vue({
		el:'#Vue-Body',
		data:vue_data
	})
	console.log(vm)
}
getData(ajax_data,Ajax_Vue_Fun)
</script>
@endsection

@endsection

